<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header"/>
</head>
<body>
<div class="layui-fluid">
    <form class="layui-form layui-row layui-col-space16" lay-filter="crud_from">
        <div class="layui-col-sm3">
            <div class="layui-form-item">
                <label class="layui-form-label">字典名称</label>
                <div class="layui-input-block">
                    <input type="text" name="name" class="layui-input" lay-affix="clear">
                </div>
            </div>
        </div>

        <div class="layui-col-sm3">
            <div class="layui-form-item">
                <label class="layui-form-label">字典类型</label>
                <div class="layui-input-block">
                    <input type="text" name="type" class="layui-input" lay-affix="clear">
                </div>
            </div>
        </div>

        <div class="layui-col-sm3">
            <div class="layui-form-item">
                <label class="layui-form-label">状态</label>
                <div class="layui-input-block">
                    <input type="text" name="status" class="layui-input" lay-affix="clear">
                </div>
            </div>
        </div>

        <div class="layui-col-sm3">
            <div class="layui-btn-container">
                <button class="layui-btn" lay-submit>搜索</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>

    </form>
    <table class="layui-hide" id="crud_table"></table>
</div>
<div id="id_add_dialog" style="display: none;">
    <div class="layui-fluid">
        <form class="layui-form" lay-filter="add_from" action="">
            <div class="layui-form-item">
                <label class="layui-form-label"><span style="color:red">*</span>字典编号</label>
                <div class="layui-input-block">
                    <input type="text" name="type" class="layui-input" lay-affix="clear">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span style="color:red">*</span>字典名称</label>
                <div class="layui-input-block">
                    <input type="text" name="name" class="layui-input" lay-affix="clear">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span style="color:red">*</span>状态</label>
                <div class="layui-input-block">
                    <input type="radio" name="status" value="E" title="有效" checked>
                    <input type="radio" name="status" value="D" title="无效">
                </div>
            </div>
        </form>
    </div>
</div>
<script type="text/html" id="operatorCol">
    <div class="layui-clear-space">
        <a class="layui-btn layui-btn-xs" lay-event="EDIT_TABLE_TOOL">编辑</a>
        <a class="layui-btn layui-btn-xs" lay-event="DEL_TABLE_TOOL">删除</a>
    </div>
</script>
<script th:src="@{/layui/layui.js}"></script>
<script th:src="@{/laypro/layui.config.js}"></script>
<script>
    layui.use(['dictTypeIndex'], function () {

    });
</script>
</body>
</html>
